﻿'/*
' * FAHWatch7 About class Copyright 2011 Marvin Westmaas ( mtm )
' *
' * This program is free software; you can redistribute it and/or
' * modify it under the terms of the GNU General Public License
' * as published by the Free Software Foundation; version 2
' * of the License. See the included file GPLv2.TXT.
' * 
' * This program is distributed in the hope that it will be useful,
' * but WITHOUT ANY WARRANTY; without even the implied warranty of
' * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
' * GNU General Public License for more details.
' * 
' * You should have received a copy of the GNU General Public License
' * along with this program; if not, write to the Free Software
' * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
' */
'/*	
Public Class clsLicense
    Private frm As New frmLicense
    Public ReadOnly Property Visible As Boolean
        Get
            Return frm.Visible
        End Get
    End Property
    Public Sub HideAbout()
        frm.Hide()
    End Sub
    Public Sub ShowLicense(Optional ByVal PF As Form = Nothing)
        frm.rtf.Text = My.Computer.FileSystem.ReadAllText(Application.StartupPath & "\License.txt")
        If IsNothing(PF) Then
            frm.Show()
        Else
            frm.ShowDialog(PF)
        End If
    End Sub
    Public Sub CloseAbout()
        frm.CloseForm()
    End Sub
End Class
